package org.xin.security.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.*;
import lombok.experimental.SuperBuilder;
import org.xin.framework.base.pojo.entity.IBaseSimpleEntity;

import java.io.Serializable;

/**
 * @author ：xin
 * @date ：Created in 2021/10/8
 * @desc <p>  </p>
 * @modified By：$
 * @version: $
 */
@ApiModel(description = "系统模块-角色权限Entity")
@Getter
@Setter
@ToString(callSuper = true)
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "sys_role_permission")
public class SysRolePermission extends IBaseSimpleEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    private String sysRoleId;

    private String permissionType;

    /**
     * @desc <p> 这个是改角色所具备的权限
     * 用户拥有该角色，该角色通过此权限
     * </p>
     */
    private String permission;
}
